{%extends 'base.html'%}
{%block title%}联络管理员{%endblock%}
{%block content%}
<div class='container'>
	{%if message%}
	<div class = 'alter alter-warming'>{{message}}</div>
	name    : {{user_name}}<br />
	city    : {{user_city}}<br />
	school  : {{user_school}}<br />
	email   : {{user_email}}<br />
	message : {{user_message}}<br />
	{%endif%}
	<div class='panel panel-rimary'>
		<form name='my form' action = '.' method = 'POST'>
		{%csrf_token%}
		<h3>写信给管理员</h3>
	</div>
	<div class='panel-body'>
		{{form.as_p}}
	</div>
	<div class='panel-footer'>
		<input type='submit' value = '提交'>
		</form>
	</div>
</div>
{%endblock%}